package com.huakang.entity;

import java.io.Serializable;

/**
 * sickroom
 * @author 
 */
public class Sickroom implements Serializable {
    private Integer srid;

    private Double srprice;

    private static final long serialVersionUID = 1L;

    public Integer getSrid() {
        return srid;
    }

    public void setSrid(Integer srid) {
        this.srid = srid;
    }

    public Double getSrprice() {
        return srprice;
    }

    public void setSrprice(Double srprice) {
        this.srprice = srprice;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Sickroom other = (Sickroom) that;
        return (this.getSrid() == null ? other.getSrid() == null : this.getSrid().equals(other.getSrid()))
            && (this.getSrprice() == null ? other.getSrprice() == null : this.getSrprice().equals(other.getSrprice()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSrid() == null) ? 0 : getSrid().hashCode());
        result = prime * result + ((getSrprice() == null) ? 0 : getSrprice().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", srid=").append(srid);
        sb.append(", srprice=").append(srprice);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}